package com.tt.jenkins_test.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @GetMapping(value = "/login")
    public String userLogin(){
        return "用户进行了登录操作";
    }

    @GetMapping(value = "/out")
    public String userLogout(){
        return "用户退出";
    }

}
